package cn.com.surker.production.dao;

import cn.com.surker.production.entity.TranDayPrice;
import cn.com.surker.production.entity.vo.TranDayPriceVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 生产运输日报表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2024-12-12
 */
public interface TranDayPriceDao extends BaseMapper<TranDayPrice> {

	/**
	 * 查询运输日产值
	 *
	 * @param page
	 * @param qw
	 * @return
	 */
	Page<TranDayPriceVo> selectFullData(Page<TranDayPrice> page, String dbCode, @Param(Constants.WRAPPER) QueryWrapper<TranDayPrice> qw);

	/**
	 * 查询运输日产值
	 *
	 * @param orgDb
	 * @param qw
	 * @return
	 */
	List<TranDayPriceVo> selectFullData(String dbCode, @Param(Constants.WRAPPER) QueryWrapper<TranDayPrice> qw);
}
